package com.zjcode.oa.api.service;


import com.zjcode.oa.api.fallback.OaServiceFallBack;
import com.zjcode.oa.api.model.JsonObj;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * oa服务接口
 *
 * @author wlei
 */
@FeignClient(value = "zjcode-oa-service", fallback = OaServiceFallBack.class)
public interface OaService {

    @GetMapping("/oaservice/v1/oa/version")
    JsonObj version();
}
